import { Meta, ArgsTable } from '@storybook/addon-docs'
import { Avatar, AvatarGroup } from '@v-uik/avatar'
import { createTitle, COMPONENTS } from '../../docs/showroom/config'
import { AvatarClassesDummy, AvatarGroupClassesDummy } from './examples'

<Meta
  title={createTitle([COMPONENTS.dataDisplay, 'Avatar', 'API'])}
  component={Avatar}
  parameters={{
    viewMode: 'docs',
    previewTabs: {
      canvas: { hidden: true },
    },
  }}
/>

# Avatar API

<ArgsTable of={Avatar} />

# Avatar Classes

<ArgsTable of={AvatarClassesDummy} />

# AvatarGroup API

<ArgsTable of={AvatarGroup} />

# AvatarGroup Classes

<ArgsTable of={AvatarGroupClassesDummy} />
